package model;

import static model.LostFilm.*;

import java.io.Serializable;
import java.util.ArrayList;

public class Serial implements Serializable
{

	private static final long	serialVersionUID	= 1L;
	
	public int id;
	public String name,
				  originalName,
				  link,
				  imglink,
				  country,
				  year,
				  genre,
				  countOfSeasons,
				  status,
				  site,
				  ruSite,
				  forum,
				  about;
	public ArrayList<Episode> content;
	
	// METHODS
	
	public void print()
	{
		System.out.println(name);
		System.out.println(originalName);
		System.out.printf("%s: %s\n", "LostFilm",           link);
		System.out.printf("%s: %s\n", "Image",            imglink);
		System.out.printf("%s: %s\n", T_COUNTRY,          country);
		System.out.printf("%s: %s\n", T_YEAR,             year);
		System.out.printf("%s: %s\n", T_GENRE,            genre);
		System.out.printf("%s: %s\n", T_COUNT_OF_SEASONS, countOfSeasons);
		System.out.printf("%s: %s\n", T_STATUS,           status);
		System.out.printf("%s: %s\n", T_SITE,             site);
		System.out.printf("%s: %s\n", T_RU_SITE,          ruSite);
		System.out.printf("%s: %s\n", T_FORUM,            forum);
		System.out.printf("%s: %s\n", T_ABOUT,            about);
		System.out.println();
	}
	
}
